package com.hm.PushCaseService.work;

import com.hm.PushCaseService.pojo.CaseBean;
import org.apache.ibatis.session.SqlSessionFactory;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Component;


/**
 * 案件入库系统
 */
@Component
public class CasePutStorageReceiver {
    private static final Logger logger = LoggerFactory.getLogger(CasePutStorageReceiver.class);

    @Qualifier("MainSqlSessionFactory")
    private final SqlSessionFactory sqlSessionFactory;

    public CasePutStorageReceiver(SqlSessionFactory sqlSessionFactory) {
        this.sqlSessionFactory = sqlSessionFactory;
    }

    //订阅案件主题
    //@JmsListener(destination = "caseInfoTopic")
    public void putCase(CaseBean caseBean) {

    }
}
